package com.lin.common.constant;

public class RedisConstant {

    private RedisConstant() {
    }

    /**
     * 重放攻击的REDIS key.
     */
    public static final String REPLAY_ATTACK_RANDOM = "com:cs:random:";
    /**
     * 登录token.
     */
    public static final String CS_TOKEN = "com:cs:token:";
    /////////////////////////////////////////////////////manager////////////////////////////
    /**
     * 重放攻击的REDIS key.
     */
    public static final String REPLAY_ATTACK_RANDOM_MANAGER = "com:cs:manager:random:";
    /**
     * 登录token.
     */
    public static final String CS_TOKEN_MANAGER = "com:cs:manager:token:";
    /////////////////////////////////////////////////////manager////////////////////////////

    public static final String FORGET_PASSWORD = "cs:forget:password:token:";

    /**
     * 好友关系
     */
    public static final String CUSTOMER_RELATIONSHIP = "cs:customer:relationship:";

    public static final String CUSTOMER_SOCKETIOCLIENT = "cs:customer:socketioclient:";

    public static final String CUSTOMER_NATIONS = "cs:customer:nations";
    public static final Long CUSTOMER_NATIONS_TIMEOUT = 8L;


    public static final String APP_RELEASE = "com:cs:release:";
    public static final Long APP_RELEASE_TIMEOUT = 12L;

}
